import React, { useContext } from "react";
import { AppContext } from "@/App";
import styles from "./index.module.less";
console.log(styles, "styles");

const Content = () => {
  const { count } = useContext(AppContext);
  return (
    <div className={styles.box}>
      <h2>Content组件</h2>
      <p>count:{count}</p>
    </div>
  );
};

export default Content;
